package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;


/**
 * 培训人员管理对象 employee (实际使用sys_user表)
 *
 * @author ruoyi
 * @date 2025-08-15
 */
public class Employee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** user_id */
    private Long id;

    /** 序号 */
    @Excel(name = "序号")
    private Integer serialNumber;

    /** 姓名 -> nick_name */

    private String userName;

    /** 姓名 -> nick_name */
    @Excel(name = "姓名")
    private String empName;

    /** 备注 */
    @Excel(name = "员工编号")
    private String empNo;
    /** 性别 -> sex */
    @Excel(name = "性别")
    private String gender;

    /** 部门 -> dept_id */
    private String deptId;
    @Excel(name = "部门名称")
    private String deptName;
    /** 电话 -> phonenumber */
    @Excel(name = "电话")
    private String phone;
    /** 备注 */
    private String remark;

    /** 邮箱 -> email */
    @Excel(name = "邮箱")
    private String email;

    /** 密码 */
    private String password;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }


    // getters and setters
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public void setEmpName(String empName)
    {
        this.empName = empName;
    }

    public String getEmpName()
    {
        return empName;
    }

    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }



    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setSerialNumber(Integer serialNumber)
    {
        this.serialNumber = serialNumber;
    }

    public Integer getSerialNumber()
    {
        return serialNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("serialNumber", getSerialNumber())
                .append("empName", getEmpName())
                .append("gender", getGender())
                .append("deptId", getDeptId())
                .append("phone", getPhone())
                .append("email", getEmail())
                .append("deptName", getDeptName())
                .append("empNo", getEmpNo())
                .append("userName", getUserName())
                .append("password", getPassword())
                .toString();
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getEmpNo() {
        return empNo;
    }

    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }


    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}